#include "contiki.h"
#include "shell.h"

#include "collect-common.h"

#include <stdio.h>

#define DEBUG 0
#if DEBUG
#define PRINTF(...) printf(__VA_ARGS__)
#else
#define PRINTF(...)
#endif

/*---------------------------------------------------------------------------*/
PROCESS(shell_ipv6_net_print_process, "net print ipv6");
SHELL_COMMAND(ipv6_net_print_command,
	      "netprint",
	      "netprint: print preffered parents and routes",
	      &shell_ipv6_net_print_process);
/*---------------------------------------------------------------------------*/
PROCESS_THREAD(shell_ipv6_net_print_process, ev, data)
{

  PROCESS_BEGIN();

  collect_common_net_print();

  PROCESS_END();
}
/*---------------------------------------------------------------------------*/
void
shell_ipv6_net_print_init(void)
{
  shell_register_command(&ipv6_net_print_command);
}
/*---------------------------------------------------------------------------*/
